package com.hk.commons.enm;

public enum ReservationPayStatusEnum {
	RESERVATIONSTATUS_0("0", "未打款"),
	
	RESERVATIONSTATUS_1("1", "部分打款"),
	
	RESERVATIONSTATUS_2("2", "全额打款");
	
	private String code;

	private String msg;
	
	private ReservationPayStatusEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
	
	public static String getReservationPayStatusStr(int i){
		String returnStr = null;
		switch(i){
		case 0: returnStr = ReservationPayStatusEnum.RESERVATIONSTATUS_0.getMsg(); break;
		case 1: returnStr = ReservationPayStatusEnum.RESERVATIONSTATUS_1.getMsg(); break;
		case 2: returnStr = ReservationPayStatusEnum.RESERVATIONSTATUS_2.getMsg(); break;

		}
		return returnStr;
	}
}
